<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
     xmlns:p="http://primefaces.org/ui">

    <body>

        <ui:composition template="./Template/Template3.xhtml">

            <ui:define name="top">
                top
            </ui:define>

            <ui:define name="content">
                <f:view>
                    <p:panel header="Confirmar el pago" toggleable="true">
                    <h:form>
                        <h1><h:outputText value="View"/></h1>
                        <p:panelGrid columns="2">
                        <h:outputText value="DaysWorked:"/>
                            <h:outputText value="#{payBean.pay.daysWorked}" title="DaysWorked"/>
                            <h:outputText value="HoursWorked:"/>
                            <h:outputText value="#{payBean.pay.hoursWorked}" title="HoursWorked"/>
                            <h:outputText value="OverTime:"/>
                            <h:outputText value="#{payBean.pay.overTime}" title="OverTime"/>
                            <h:outputText value="Pay:"/>
                            <h:outputText value="#{payBean.pay.pay}" title="Pay"/>
                            <h:outputText value="StaffIdstaff:"/>
                            <h:outputText value="#{payBean.pay.staffIdstaff}" title="StaffIdstaff"/>
                        </p:panelGrid>
                        <p:commandButton action="Pago" value="Aceptar" actionListener="#{payBean.procesarAccion()}"/>
                        <p:commandButton action="Pago" value="Cancelar" immediate="true"/>
                    </h:form>
                    </p:panel>
                </f:view>

            </ui:define>

            <ui:define name="bottom">
                bottom
            </ui:define>

        </ui:composition>

    </body>
</html>
